home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / prg_basi / agavb25.zip / VB.ZIP / GNEEDLES.FRM < prev    next >
Text File  |  1996-01-16  |  33KB  |  1,045 lines

  1. VERSION 2.00
  2. Begin Form NeedleDemo 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Needle Properties Demonstration"
  6.    ClientHeight    =   5760
  7.    ClientLeft      =   1980
  8.    ClientTop       =   1815
  9.    ClientWidth     =   8565
  10.    Height          =   6165
  11.    Left            =   1920
  12.    LinkTopic       =   "Form2"
  13.    MaxButton       =   0   'False
  14.    MDIChild        =   -1  'True
  15.    MinButton       =   0   'False
  16.    ScaleHeight     =   384
  17.    ScaleMode       =   3  'Pixel
  18.    ScaleWidth      =   571
  19.    Top             =   1470
  20.    Width           =   8685
  21.    Begin Frame Frame6 
  22.       BackColor       =   &H00C0C0C0&
  23.       Caption         =   "Needle Size & Position Properties"
  24.       FontBold        =   -1  'True
  25.       FontItalic      =   0   'False
  26.       FontName        =   "System"
  27.       FontSize        =   9.75
  28.       FontStrikethru  =   0   'False
  29.       FontUnderline   =   0   'False
  30.       Height          =   1275
  31.       Left            =   3795
  32.       TabIndex        =   68
  33.       Top             =   1440
  34.       Width           =   4650
  35.       Begin HScrollBar HScroll1 
  36.          Height          =   240
  37.          Index           =   0
  38.          Left            =   1950
  39.          Max             =   100
  40.          TabIndex        =   5
  41.          Top             =   390
  42.          Width           =   2000
  43.       End
  44.       Begin HScrollBar HScroll1 
  45.          Height          =   240
  46.          Index           =   1
  47.          Left            =   1950
  48.          Max             =   100
  49.          TabIndex        =   9
  50.          Top             =   645
  51.          Width           =   2000
  52.       End
  53.       Begin HScrollBar HScroll1 
  54.          Height          =   240
  55.          Index           =   2
  56.          Left            =   1950
  57.          Max             =   100
  58.          TabIndex        =   69
  59.          Top             =   900
  60.          Width           =   2000
  61.       End
  62.       Begin Label Label2 
  63.          AutoSize        =   -1  'True
  64.          BackStyle       =   0  'Transparent
  65.          Caption         =   " 0"
  66.          Height          =   195
  67.          Index           =   0
  68.          Left            =   4035
  69.          TabIndex        =   10
  70.          Top             =   420
  71.          Width           =   180
  72.       End
  73.       Begin Label Label1 
  74.          Alignment       =   1  'Right Justify
  75.          AutoSize        =   -1  'True
  76.          BackStyle       =   0  'Transparent
  77.          Caption         =   "NeedleLength:"
  78.          FontBold        =   0   'False
  79.          FontItalic      =   0   'False
  80.          FontName        =   "Arial"
  81.          FontSize        =   8.25
  82.          FontStrikethru  =   0   'False
  83.          FontUnderline   =   0   'False
  84.          Height          =   210
  85.          Index           =   0
  86.          Left            =   690
  87.          TabIndex        =   23
  88.          Top             =   405
  89.          Width           =   1035
  90.       End
  91.       Begin Label Label1 
  92.          Alignment       =   1  'Right Justify
  93.          AutoSize        =   -1  'True
  94.          BackStyle       =   0  'Transparent
  95.          Caption         =   "NeedleWidth:"
  96.          FontBold        =   0   'False
  97.          FontItalic      =   0   'False
  98.          FontName        =   "Arial"
  99.          FontSize        =   8.25
  100.          FontStrikethru  =   0   'False
  101.          FontUnderline   =   0   'False
  102.          Height          =   210
  103.          Index           =   1
  104.          Left            =   765
  105.          TabIndex        =   24
  106.          Top             =   660
  107.          Width           =   945
  108.       End
  109.       Begin Label Label2 
  110.          AutoSize        =   -1  'True
  111.          BackStyle       =   0  'Transparent
  112.          Caption         =   " 0"
  113.          Height          =   195
  114.          Index           =   1
  115.          Left            =   4035
  116.          TabIndex        =   26
  117.          Top             =   660
  118.          Width           =   180
  119.       End
  120.       Begin Label Label2 
  121.          AutoSize        =   -1  'True
  122.          BackStyle       =   0  'Transparent
  123.          Caption         =   " 0"
  124.          Height          =   195
  125.          Index           =   2
  126.          Left            =   4035
  127.          TabIndex        =   27
  128.          Top             =   915
  129.          Width           =   180
  130.       End
  131.       Begin Label Label1 
  132.          Alignment       =   1  'Right Justify
  133.          AutoSize        =   -1  'True
  134.          BackStyle       =   0  'Transparent
  135.          Caption         =   "NeedleValue:"
  136.          FontBold        =   0   'False
  137.          FontItalic      =   0   'False
  138.          FontName        =   "Arial"
  139.          FontSize        =   8.25
  140.          FontStrikethru  =   0   'False
  141.          FontUnderline   =   0   'False
  142.          Height          =   210
  143.          Index           =   2
  144.          Left            =   750
  145.          TabIndex        =   30
  146.          Top             =   915
  147.          Width           =   960
  148.       End
  149.    End
  150.    Begin Frame Frame5 
  151.       BackColor       =   &H00C0C0C0&
  152.       Caption         =   "Needle Digital Properties"
  153.       FontBold        =   -1  'True
  154.       FontItalic      =   0   'False
  155.       FontName        =   "System"
  156.       FontSize        =   9.75
  157.       FontStrikethru  =   0   'False
  158.       FontUnderline   =   0   'False
  159.       Height          =   1620
  160.       Left            =   3795
  161.       TabIndex        =   44
  162.       Top             =   2760
  163.       Width           =   4650
  164.       Begin HScrollBar HScroll1 
  165.          Height          =   240
  166.          Index           =   6
  167.          Left            =   2040
  168.          Max             =   5
  169.          TabIndex        =   62
  170.          Top             =   1275
  171.          Width           =   2000
  172.       End
  173.       Begin HScrollBar HScroll1 
  174.          Height          =   240
  175.          Index           =   5
  176.          Left            =   2040
  177.          Max             =   150
  178.          Min             =   -150
  179.          TabIndex        =   57
  180.          Top             =   1020
  181.          Width           =   2000
  182.       End
  183.       Begin HScrollBar HScroll1 
  184.          Height          =   240
  185.          Index           =   4
  186.          Left            =   2040
  187.          Max             =   150
  188.          Min             =   -150
  189.          TabIndex        =   56
  190.          Top             =   765
  191.          Value           =   -150
  192.          Width           =   2000
  193.       End
  194.       Begin CheckBox Check1 
  195.          BackColor       =   &H00C0C0C0&
  196.          Caption         =   "Needle Digital "
  197.          FontBold        =   -1  'True
  198.          FontItalic      =   0   'False
  199.          FontName        =   "System"
  200.          FontSize        =   9.75
  201.          FontStrikethru  =   0   'False
  202.          FontUnderline   =   0   'False
  203.          Height          =   225
  204.          Left            =   120
  205.          TabIndex        =   45
  206.          Top             =   360
  207.          Value           =   1  'Checked
  208.          Width           =   1710
  209.       End
  210.       Begin Label Label1 
  211.          Alignment       =   1  'Right Justify
  212.          AutoSize        =   -1  'True
  213.          BackStyle       =   0  'Transparent
  214.          Caption         =   "NeedleDigitalDecimals:"
  215.          FontBold        =   0   'False
  216.          FontItalic      =   0   'False
  217.          FontName        =   "Arial"
  218.          FontSize        =   8.25
  219.          FontStrikethru  =   0   'False
  220.          FontUnderline   =   0   'False
  221.          Height          =   210
  222.          Index           =   7
  223.          Left            =   285
  224.          TabIndex        =   64
  225.          Top             =   1305
  226.          Width           =   1605
  227.       End
  228.       Begin Label Label2 
  229.          AutoSize        =   -1  'True
  230.          BackStyle       =   0  'Transparent
  231.          Caption         =   " 0"
  232.          Height          =   195
  233.          Index           =   8
  234.          Left            =   4065
  235.          TabIndex        =   63
  236.          Top             =   1275
  237.          Width           =   180
  238.       End
  239.       Begin Label Label2 
  240.          AutoSize        =   -1  'True
  241.          BackStyle       =   0  'Transparent
  242.          Caption         =   " 0"
  243.          Height          =   195
  244.          Index           =   7
  245.          Left            =   4065
  246.          TabIndex        =   61
  247.          Top             =   1035
  248.          Width           =   180
  249.       End
  250.       Begin Label Label2 
  251.          AutoSize        =   -1  'True
  252.          BackStyle       =   0  'Transparent
  253.          Caption         =   " 0"
  254.          Height          =   195
  255.          Index           =   6
  256.          Left            =   4065
  257.          TabIndex        =   60
  258.          Top             =   765
  259.          Width           =   180
  260.       End
  261.       Begin Label Label1 
  262.          Alignment       =   1  'Right Justify
  263.          AutoSize        =   -1  'True
  264.          BackStyle       =   0  'Transparent
  265.          Caption         =   "NeedleDigitalY:"
  266.          FontBold        =   0   'False
  267.          FontItalic      =   0   'False
  268.          FontName        =   "Arial"
  269.          FontSize        =   8.25
  270.          FontStrikethru  =   0   'False
  271.          FontUnderline   =   0   'False
  272.          Height          =   210
  273.          Index           =   6
  274.          Left            =   795
  275.          TabIndex        =   59
  276.          Top             =   1050
  277.          Width           =   1080
  278.       End
  279.       Begin Label Label1 
  280.          Alignment       =   1  'Right Justify
  281.          AutoSize        =   -1  'True
  282.          BackStyle       =   0  'Transparent
  283.          Caption         =   "NeedleDigitalX:"
  284.          FontBold        =   0   'False
  285.          FontItalic      =   0   'False
  286.          FontName        =   "Arial"
  287.          FontSize        =   8.25
  288.          FontStrikethru  =   0   'False
  289.          FontUnderline   =   0   'False
  290.          Height          =   210
  291.          Index           =   5
  292.          Left            =   825
  293.          TabIndex        =   58
  294.          Top             =   795
  295.          Width           =   1065
  296.       End
  297.       Begin Label Colors 
  298.          BackColor       =   &H00000000&
  299.          Height          =   225
  300.          Index           =   19
  301.          Left            =   1905
  302.          TabIndex        =   55
  303.          Top             =   390
  304.          Width           =   225
  305.       End
  306.       Begin Label Colors 
  307.          BackColor       =   &H00808080&
  308.          Height          =   225
  309.          Index           =   18
  310.          Left            =   3105
  311.          TabIndex        =   54
  312.          Top             =   390
  313.          Width           =   225
  314.       End
  315.       Begin Label Colors 
  316.          BackColor       =   &H00FFFFFF&
  317.          Height          =   225
  318.          Index           =   17
  319.          Left            =   2145
  320.          TabIndex        =   53
  321.          Top             =   390
  322.          Width           =   225
  323.       End
  324.       Begin Label Colors 
  325.          BackColor       =   &H000000FF&
  326.          Height          =   225
  327.          Index           =   16
  328.          Left            =   3345
  329.          TabIndex        =   52
  330.          Top             =   390
  331.          Width           =   225
  332.       End
  333.       Begin Label Colors 
  334.          BackColor       =   &H0000FF00&
  335.          Height          =   225
  336.          Index           =   15
  337.          Left            =   2385
  338.          TabIndex        =   51
  339.          Top             =   390
  340.          Width           =   225
  341.       End
  342.       Begin Label Colors 
  343.          BackColor       =   &H0000FFFF&
  344.          Height          =   225
  345.          Index           =   14
  346.          Left            =   3585
  347.          TabIndex        =   50
  348.          Top             =   390
  349.          Width           =   225
  350.       End
  351.       Begin Label Colors 
  352.          BackColor       =   &H00FF0000&
  353.          Height          =   225
  354.          Index           =   13
  355.          Left            =   2625
  356.          TabIndex        =   49
  357.          Top             =   390
  358.          Width           =   225
  359.       End
  360.       Begin Label Colors 
  361.          BackColor       =   &H00FF00FF&
  362.          Height          =   225
  363.          Index           =   12
  364.          Left            =   3825
  365.          TabIndex        =   48
  366.          Top             =   390
  367.          Width           =   225
  368.       End
  369.       Begin Label Colors 
  370.          BackColor       =   &H000080FF&
  371.          Height          =   225
  372.          Index           =   11
  373.          Left            =   2865
  374.          TabIndex        =   47
  375.          Top             =   390
  376.          Width           =   225
  377.       End
  378.       Begin Label Colors 
  379.          BackColor       =   &H00004040&
  380.          Height          =   225
  381.          Index           =   10
  382.          Left            =   4065
  383.          TabIndex        =   46
  384.          Top             =   390
  385.          Width           =   225
  386.       End
  387.    End
  388.    Begin AGAUGE Gauge1 
  389.       Angle           =   0
  390.       AutoRedraw      =   -1  'True
  391.       AVersion        =   2.5
  392.       BackgroundColor =   &H00C0C0C0&
  393.       BevelInner      =   0  ' 0 - None
  394.       BevelOuter      =   2  ' 2 - Inset
  395.       BevelWidth      =   2
  396.       BorderType      =   1  ' 1 - Bevel
  397.       BorderWidth     =   10
  398.       FontID          =   1
  399.       FrameColor      =   &H00000000&
  400.       FrameScaleX     =   0
  401.       FrameScaleY     =   0
  402.       FrameStyle      =   0  ' 0 - None
  403.       Height          =   4185
  404.       Left            =   120
  405.       MouseControl    =   -1  'True
  406.       OutlineAlign    =   0  ' 0 - Left 
  407.       OutlineColor    =   &H00000000&
  408.       OutlineTitle    =   ""
  409.       OutlineWidth    =   0
  410.       Radius          =   0
  411.       Shape           =   ""
  412.       TabIndex        =   43
  413.       Top             =   210
  414.       Value           =   0
  415.       Width           =   3600
  416.       XScale          =   0
  417.       YScale          =   0
  418.       ZLoad           =   GNEEDLES.FRX:0000
  419.    End
  420.    Begin TextBox Text1 
  421.       FontBold        =   -1  'True
  422.       FontItalic      =   0   'False
  423.       FontName        =   "System"
  424.       FontSize        =   9.75
  425.       FontStrikethru  =   0   'False
  426.       FontUnderline   =   0   'False
  427.       Height          =   795
  428.       Left            =   3780
  429.       MultiLine       =   -1  'True
  430.       TabIndex        =   40
  431.       Top             =   4800
  432.       Width           =   4650
  433.    End
  434.    Begin Frame Frame4 
  435.       BackColor       =   &H00C0C0C0&
  436.       Caption         =   "Hub Properties"
  437.       FontBold        =   -1  'True
  438.       FontItalic      =   0   'False
  439.       FontName        =   "System"
  440.       FontSize        =   9.75
  441.       FontStrikethru  =   0   'False
  442.       FontUnderline   =   0   'False
  443.       Height          =   1140
  444.       Left            =   105
  445.       TabIndex        =   29
  446.       Top             =   4455
  447.       Width           =   3585
  448.       Begin HScrollBar HScroll1 
  449.          Height          =   240
  450.          Index           =   3
  451.          Left            =   1035
  452.          Max             =   100
  453.          TabIndex        =   65
  454.          Top             =   720
  455.          Width           =   2000
  456.       End
  457.       Begin Label Label2 
  458.          AutoSize        =   -1  'True
  459.          BackStyle       =   0  'Transparent
  460.          Caption         =   "0"
  461.          Height          =   195
  462.          Index           =   3
  463.          Left            =   3180
  464.          TabIndex        =   67
  465.          Top             =   735
  466.          Width           =   120
  467.       End
  468.       Begin Label Label1 
  469.          Alignment       =   1  'Right Justify
  470.          AutoSize        =   -1  'True
  471.          BackStyle       =   0  'Transparent
  472.          Caption         =   "Hub Scale:"
  473.          FontBold        =   0   'False
  474.          FontItalic      =   0   'False
  475.          FontName        =   "Arial"
  476.          FontSize        =   8.25
  477.          FontStrikethru  =   0   'False
  478.          FontUnderline   =   0   'False
  479.          Height          =   210
  480.          Index           =   3
  481.          Left            =   150
  482.          TabIndex        =   66
  483.          Top             =   735
  484.          Width           =   780
  485.       End
  486.       Begin Label HColors 
  487.          BackColor       =   &H00000000&
  488.          Height          =   225
  489.          Index           =   0
  490.          Left            =   570
  491.          TabIndex        =   4
  492.          Top             =   360
  493.          Width           =   225
  494.       End
  495.       Begin Label HColors 
  496.          BackColor       =   &H00808080&
  497.          Height          =   225
  498.          Index           =   5
  499.          Left            =   1770
  500.          TabIndex        =   39
  501.          Top             =   360
  502.          Width           =   225
  503.       End
  504.       Begin Label HColors 
  505.          BackColor       =   &H00FFFFFF&
  506.          Height          =   225
  507.          Index           =   1
  508.          Left            =   810
  509.          TabIndex        =   38
  510.          Top             =   360
  511.          Width           =   225
  512.       End
  513.       Begin Label HColors 
  514.          BackColor       =   &H000000FF&
  515.          Height          =   225
  516.          Index           =   6
  517.          Left            =   2010
  518.          TabIndex        =   37
  519.          Top             =   360
  520.          Width           =   225
  521.       End
  522.       Begin Label HColors 
  523.          BackColor       =   &H0000FF00&
  524.          Height          =   225
  525.          Index           =   2
  526.          Left            =   1050
  527.          TabIndex        =   36
  528.          Top             =   360
  529.          Width           =   225
  530.       End
  531.       Begin Label HColors 
  532.          BackColor       =   &H0000FFFF&
  533.          Height          =   225
  534.          Index           =   7
  535.          Left            =   2250
  536.          TabIndex        =   35
  537.          Top             =   360
  538.          Width           =   225
  539.       End
  540.       Begin Label HColors 
  541.          BackColor       =   &H00FF0000&
  542.          Height          =   225
  543.          Index           =   3
  544.          Left            =   1290
  545.          TabIndex        =   34
  546.          Top             =   360
  547.          Width           =   225
  548.       End
  549.       Begin Label HColors 
  550.          BackColor       =   &H00FF00FF&
  551.          Height          =   225
  552.          Index           =   8
  553.          Left            =   2490
  554.          TabIndex        =   33
  555.          Top             =   360
  556.          Width           =   225
  557.       End
  558.       Begin Label HColors 
  559.          BackColor       =   &H000080FF&
  560.          Height          =   225
  561.          Index           =   4
  562.          Left            =   1530
  563.          TabIndex        =   32
  564.          Top             =   360
  565.          Width           =   225
  566.       End
  567.       Begin Label HColors 
  568.          BackColor       =   &H00004040&
  569.          Height          =   225
  570.          Index           =   9
  571.          Left            =   2730
  572.          TabIndex        =   31
  573.          Top             =   360
  574.          Width           =   225
  575.       End
  576.    End
  577.    Begin Frame Frame3 
  578.       BackColor       =   &H00C0C0C0&
  579.       Caption         =   "Needle Color"
  580.       FontBold        =   -1  'True
  581.       FontItalic      =   0   'False
  582.       FontName        =   "System"
  583.       FontSize        =   9.75
  584.       FontStrikethru  =   0   'False
  585.       FontUnderline   =   0   'False
  586.       Height          =   1260
  587.       Left            =   6600
  588.       TabIndex        =   25
  589.       Top             =   75
  590.       Width           =   1830
  591.       Begin Label Colors 
  592.          BackColor       =   &H00004040&
  593.          Height          =   225
  594.          Index           =   9
  595.          Left            =   1275
  596.          TabIndex        =   6
  597.          Top             =   675
  598.          Width           =   225
  599.       End
  600.       Begin Label Colors 
  601.          BackColor       =   &H000080FF&
  602.          Height          =   225
  603.          Index           =   8
  604.          Left            =   1275
  605.          TabIndex        =   7
  606.          Top             =   435
  607.          Width           =   225
  608.       End
  609.       Begin Label Colors 
  610.          BackColor       =   &H00FF00FF&
  611.          Height          =   225
  612.          Index           =   7
  613.          Left            =   1035
  614.          TabIndex        =   12
  615.          Top             =   675
  616.          Width           =   225
  617.       End
  618.       Begin Label Colors 
  619.          BackColor       =   &H00FF0000&
  620.          Height          =   225
  621.          Index           =   6
  622.          Left            =   1035
  623.          TabIndex        =   13
  624.          Top             =   435
  625.          Width           =   225
  626.       End
  627.       Begin Label Colors 
  628.          BackColor       =   &H0000FFFF&
  629.          Height          =   225
  630.          Index           =   5
  631.          Left            =   795
  632.          TabIndex        =   14
  633.          Top             =   675
  634.          Width           =   225
  635.       End
  636.       Begin Label Colors 
  637.          BackColor       =   &H0000FF00&
  638.          Height          =   225
  639.          Index           =   4
  640.          Left            =   795
  641.          TabIndex        =   15
  642.          Top             =   435
  643.          Width           =   225
  644.       End
  645.       Begin Label Colors 
  646.          BackColor       =   &H000000FF&
  647.          Height          =   225
  648.          Index           =   3
  649.          Left            =   555
  650.          TabIndex        =   16
  651.          Top             =   675
  652.          Width           =   225
  653.       End
  654.       Begin Label Colors 
  655.          BackColor       =   &H00FFFFFF&
  656.          Height          =   225
  657.          Index           =   2
  658.          Left            =   555
  659.          TabIndex        =   17
  660.          Top             =   435
  661.          Width           =   225
  662.       End
  663.       Begin Label Colors 
  664.          BackColor       =   &H00808080&
  665.          Height          =   225
  666.          Index           =   1
  667.          Left            =   315
  668.          TabIndex        =   18
  669.          Top             =   675
  670.          Width           =   225
  671.       End
  672.       Begin Label Colors 
  673.          BackColor       =   &H00000000&
  674.          Height          =   225
  675.          Index           =   0
  676.          Left            =   315
  677.          TabIndex        =   19
  678.          Top             =   435
  679.          Width           =   225
  680.       End
  681.    End
  682.    Begin Frame Frame2 
  683.       BackColor       =   &H00C0C0C0&
  684.       Caption         =   "Needle Style"
  685.       FontBold        =   -1  'True
  686.       FontItalic      =   0   'False
  687.       FontName        =   "System"
  688.       FontSize        =   9.75
  689.       FontStrikethru  =   0   'False
  690.       FontUnderline   =   0   'False
  691.       Height          =   1275
  692.       Left            =   4965
  693.       TabIndex        =   20
  694.       Top             =   60
  695.       Width           =   1590
  696.       Begin OptionButton Option2 
  697.          BackColor       =   &H00C0C0C0&
  698.          Caption         =   "User"
  699.          FontBold        =   0   'False
  700.          FontItalic      =   0   'False
  701.          FontName        =   "Arial"
  702.          FontSize        =   8.25
  703.          FontStrikethru  =   0   'False
  704.          FontUnderline   =   0   'False
  705.          Height          =   240
  706.          Index           =   3
  707.          Left            =   210
  708.          TabIndex        =   41
  709.          Top             =   960
  710.          Width           =   1005
  711.       End
  712.       Begin OptionButton Option2 
  713.          BackColor       =   &H00C0C0C0&
  714.          Caption         =   "Arrow"
  715.          FontBold        =   0   'False
  716.          FontItalic      =   0   'False
  717.          FontName        =   "Arial"
  718.          FontSize        =   8.25
  719.          FontStrikethru  =   0   'False
  720.          FontUnderline   =   0   'False
  721.          Height          =   240
  722.          Index           =   2
  723.          Left            =   210
  724.          TabIndex        =   11
  725.          Top             =   750
  726.          Width           =   1005
  727.       End
  728.       Begin OptionButton Option2 
  729.          BackColor       =   &H00C0C0C0&
  730.          Caption         =   "Triangle"
  731.          FontBold        =   0   'False
  732.          FontItalic      =   0   'False
  733.          FontName        =   "Arial"
  734.          FontSize        =   8.25
  735.          FontStrikethru  =   0   'False
  736.          FontUnderline   =   0   'False
  737.          Height          =   240
  738.          Index           =   1
  739.          Left            =   210
  740.          TabIndex        =   22
  741.          Top             =   540
  742.          Width           =   1095
  743.       End
  744.       Begin OptionButton Option2 
  745.          BackColor       =   &H00C0C0C0&
  746.          Caption         =   "Pointer"
  747.          FontBold        =   0   'False
  748.          FontItalic      =   0   'False
  749.          FontName        =   "Arial"
  750.          FontSize        =   8.25
  751.          FontStrikethru  =   0   'False
  752.          FontUnderline   =   0   'False
  753.          Height          =   240
  754.          Index           =   0
  755.          Left            =   210
  756.          TabIndex        =   21
  757.          Top             =   330
  758.          Width           =   1125
  759.       End
  760.    End
  761.    Begin Frame Frame1 
  762.       BackColor       =   &H00C0C0C0&
  763.       Caption         =   "Needle ID"
  764.       FontBold        =   -1  'True
  765.       FontItalic      =   0   'False
  766.       FontName        =   "System"
  767.       FontSize        =   9.75
  768.       FontStrikethru  =   0   'False
  769.       FontUnderline   =   0   'False
  770.       Height          =   1275
  771.       Left            =   3795
  772.       TabIndex        =   0
  773.       Top             =   60
  774.       Width           =   1125
  775.       Begin OptionButton Option1 
  776.          BackColor       =   &H00C0C0C0&
  777.          Caption         =   "2"
  778.          FontBold        =   -1  'True
  779.          FontItalic      =   0   'False
  780.          FontName        =   "System"
  781.          FontSize        =   9.75
  782.          FontStrikethru  =   0   'False
  783.          FontUnderline   =   0   'False
  784.          Height          =   255
  785.          Index           =   2
  786.          Left            =   330
  787.          TabIndex        =   3
  788.          Top             =   810
  789.          Width           =   615
  790.       End
  791.       Begin OptionButton Option1 
  792.          BackColor       =   &H00C0C0C0&
  793.          Caption         =   "1"
  794.          FontBold        =   -1  'True
  795.          FontItalic      =   0   'False
  796.          FontName        =   "System"
  797.          FontSize        =   9.75
  798.          FontStrikethru  =   0   'False
  799.          FontUnderline   =   0   'False
  800.          Height          =   255
  801.          Index           =   1
  802.          Left            =   330
  803.          TabIndex        =   2
  804.          Top             =   570
  805.          Width           =   615
  806.       End
  807.       Begin OptionButton Option1 
  808.          BackColor       =   &H00C0C0C0&
  809.          Caption         =   "0"
  810.          FontBold        =   -1  'True
  811.          FontItalic      =   0   'False
  812.          FontName        =   "System"
  813.          FontSize        =   9.75
  814.          FontStrikethru  =   0   'False
  815.          FontUnderline   =   0   'False
  816.          Height          =   255
  817.          Index           =   0
  818.          Left            =   345
  819.          TabIndex        =   1
  820.          Top             =   330
  821.          Value           =   -1  'True
  822.          Width           =   615
  823.       End
  824.    End
  825.    Begin Label Label1 
  826.       AutoSize        =   -1  'True
  827.       BackStyle       =   0  'Transparent
  828.       Caption         =   "Needle Shape: (x,y pair list)"
  829.       Height          =   240
  830.       Index           =   4
  831.       Left            =   3810
  832.       TabIndex        =   42
  833.       Top             =   4560
  834.       Width           =   3015
  835.    End
  836.    Begin Label Label2 
  837.       Alignment       =   2  'Center
  838.       AutoSize        =   -1  'True
  839.       BackStyle       =   0  'Transparent
  840.       Caption         =   " "
  841.       Height          =   195
  842.       Index           =   5
  843.       Left            =   1755
  844.       TabIndex        =   8
  845.       Top             =   4380
  846.       Width           =   120
  847.    End
  848.    Begin Label Label2 
  849.       Alignment       =   2  'Center
  850.       AutoSize        =   -1  'True
  851.       BackStyle       =   0  'Transparent
  852.       Caption         =   " "
  853.       Height          =   195
  854.       Index           =   4
  855.       Left            =   1785
  856.       TabIndex        =   28
  857.       Top             =   4770
  858.       Width           =   90
  859.    End
  860. End
  861.  
  862. Sub Check1_Click ()
  863.  
  864.     gauge1.NeedleDigital = check1
  865.     
  866. End Sub
  867.  
  868. Sub Colors_Click (index As Integer)
  869.  
  870.     If index < 10 Then
  871.         gauge1.NeedleColor = Colors(index).BackColor
  872.     Else
  873.         gauge1.NeedleDigitalColor = Colors(index).BackColor
  874.     End If
  875.  
  876. End Sub
  877.  
  878. Sub Form_Load ()
  879.  
  880.     'initialize the gauge properties for the demo
  881.     gauge1.Hubs = 1
  882.     gauge1.Needles = 3
  883.  
  884.     gauge1.NeedleID = 0
  885.     gauge1.NeedleShape = "0,1000, 500,700, -500,700 "
  886.     gauge1.NeedleStyle = 0
  887.     gauge1.NeedleColor = Colors(6).BackColor
  888.     gauge1.NeedleLength = .65
  889.     gauge1.NeedleWidth = .1
  890.     gauge1.NeedleValue = 10
  891.     gauge1.NeedleDigitalDecimals = 1
  892.     gauge1.NeedleDigital = True
  893.     gauge1.NeedleDigitalX = 0
  894.     gauge1.NeedleDigitalY = -.66
  895.     gauge1.NeedleDigitalColor = Colors(6).BackColor
  896.  
  897.     gauge1.NeedleID = 1
  898.     gauge1.NeedleShape = "-250,0 -1000,600, -250,800, 0,1000, 250,800, 1000,600, 250,0"
  899.     gauge1.NeedleStyle = 1
  900.     gauge1.NeedleColor = Colors(3).BackColor
  901.     gauge1.NeedleLength = .65
  902.     gauge1.NeedleWidth = .1
  903.     gauge1.NeedleValue = 35
  904.     gauge1.NeedleDigitalDecimals = 1
  905.     gauge1.NeedleDigital = True
  906.     gauge1.NeedleDigitalX = -1#
  907.     gauge1.NeedleDigitalY = 1.1
  908.     gauge1.NeedleDigitalColor = Colors(3).BackColor
  909.  
  910.     gauge1.NeedleID = 2
  911.     gauge1.NeedleShape = "0,1000,900,700,400,800,400,0,0,0,0,1000"
  912.     gauge1.NeedleStyle = 3
  913.     gauge1.NeedleColor = Colors(7).BackColor
  914.     gauge1.NeedleLength = .65
  915.     gauge1.NeedleWidth = .1
  916.     gauge1.NeedleValue = 70
  917.     gauge1.NeedleDigitalDecimals = 1
  918.     gauge1.NeedleDigital = True
  919.     gauge1.NeedleDigitalX = 1#
  920.     gauge1.NeedleDigitalY = 1.1
  921.     gauge1.NeedleDigitalColor = Colors(7).BackColor
  922.  
  923.     'set the scroll bars up correctly
  924.     gauge1.NeedleID = 0
  925.     hscroll1(0) = gauge1.NeedleLength * 100
  926.     hscroll1(1) = gauge1.NeedleWidth * 100
  927.     hscroll1(2) = gauge1.NeedleValue
  928.     hscroll1(3) = gauge1.HubScale
  929.     hscroll1(4) = gauge1.NeedleDigitalX * 100
  930.     hscroll1(5) = gauge1.NeedleDigitalY * 100
  931.     hscroll1(6) = gauge1.NeedleDigitalDecimals
  932.     option2(gauge1.NeedleStyle) = True
  933.     check1 = -gauge1.NeedleDigital
  934.  
  935. End Sub
  936.  
  937. Sub Gauge1_Change ()
  938.  
  939.     hscroll1(2) = gauge1.NeedleValue
  940.  
  941. End Sub
  942.  
  943. Sub Gauge1_Click ()
  944.  
  945.     option1(gauge1.NeedleID) = True
  946.  
  947. End Sub
  948.  
  949. Sub Gauge1_Turn ()
  950.  
  951.     hscroll1(2) = gauge1.NeedleValue
  952.  
  953. End Sub
  954.  
  955. Sub HColors_Click (index As Integer)
  956.  
  957.     gauge1.HubColor = HColors(index).BackColor
  958.  
  959. End Sub
  960.  
  961. Sub HScroll1_Change (index As Integer)
  962.  
  963.     Select Case index
  964.         Case 0
  965.             gauge1.NeedleLength = hscroll1(0) / 100
  966.             label2(0) = hscroll1(0) / 100
  967.         Case 1
  968.             gauge1.NeedleWidth = hscroll1(1) / 100
  969.             label2(1) = hscroll1(1) / 100
  970.         Case 2
  971.             gauge1.NeedleValue = hscroll1(2)
  972.             label2(2) = hscroll1(2)
  973.         Case 3
  974.             gauge1.HubScale = hscroll1(3) / 100
  975.             label2(3) = hscroll1(3) / 100
  976.         Case 4
  977.             gauge1.NeedleDigitalX = hscroll1(4) / 100
  978.             label2(6) = hscroll1(4) / 100
  979.         Case 5
  980.             gauge1.NeedleDigitalY = hscroll1(5) / 100
  981.             label2(7) = hscroll1(5) / 100
  982.         Case 6
  983.             gauge1.NeedleDigitalDecimals = hscroll1(6)
  984.             label2(8) = hscroll1(6)
  985.     End Select
  986.  
  987. End Sub
  988.  
  989. Sub HScroll1_Scroll (index As Integer)
  990.  
  991.     Select Case index
  992.         Case 0
  993.             gauge1.NeedleLength = hscroll1(0) / 100
  994.             label2(0) = hscroll1(0) / 100
  995.         Case 1
  996.             gauge1.NeedleWidth = hscroll1(1) / 100
  997.             label2(1) = hscroll1(1) / 100
  998.         Case 2
  999.             gauge1.NeedleValue = hscroll1(2)
  1000.             label2(2) = hscroll1(2)
  1001.         Case 3
  1002.             gauge1.HubScale = hscroll1(3) / 100
  1003.             label2(3) = hscroll1(3) / 100
  1004.         Case 4
  1005.             gauge1.NeedleDigitalX = hscroll1(4) / 100
  1006.             label2(6) = hscroll1(4) / 100
  1007.         Case 5
  1008.             gauge1.NeedleDigitalY = hscroll1(5) / 100
  1009.             label2(7) = hscroll1(5) / 100
  1010.         Case 6
  1011.             gauge1.NeedleDigitalDecimals = hscroll1(6)
  1012.             label2(8) = hscroll1(6)
  1013.     End Select
  1014.  
  1015. End Sub
  1016.  
  1017. Sub Option1_Click (index As Integer)
  1018.  
  1019.     gauge1.NeedleID = index
  1020.     hscroll1(0) = gauge1.NeedleLength * 100
  1021.     hscroll1(1) = gauge1.NeedleWidth * 100
  1022.     hscroll1(2) = gauge1.NeedleValue
  1023.     option2(gauge1.NeedleStyle) = True
  1024.     Text1 = gauge1.NeedleShape
  1025.     hscroll1(4) = gauge1.NeedleDigitalX * 100
  1026.     hscroll1(5) = gauge1.NeedleDigitalY * 100
  1027.     hscroll1(6) = gauge1.NeedleDigitalDecimals
  1028.     check1 = -gauge1.NeedleDigital
  1029.  
  1030. End Sub
  1031.  
  1032. Sub Option2_Click (index As Integer)
  1033.  
  1034.     gauge1.NeedleStyle = index
  1035.     Text1 = gauge1.NeedleShape
  1036.  
  1037. End Sub
  1038.  
  1039. Sub Text1_Change ()
  1040.     
  1041.     gauge1.NeedleShape = Text1
  1042.     
  1043. End Sub
  1044.  
  1045.